var _common_util = require('util/common_util.js');

var _category_service = {

    getLevel1Category : function(resolve, reject) {
        _common_util.request({
            url     : _common_util.getServerURL('category?parent=0'),
            success : resolve,
            error   : reject
        });
    }

}

module.exports = _category_service